package com.xtoneict.auth.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hx
 * @since 2024-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工状态 1在职 2离职
     */
    public static final Integer ON_DUTY = 1;
    public static final Integer RESIGNATION = 2;

    @TableId(value = "employee_id", type = IdType.AUTO)
    private Integer employeeId;

    private String name;

    private Integer depId;

    private Integer worktime;

    private Integer status;

    @TableLogic
    @TableField(value = "is_deleted",fill = FieldFill.INSERT)
    private Integer isDeleted;

}
